import type { App } from 'vue'
import { auth } from '@/directives/auth'

/**
 * 注册全局自定义指令
 * @param app
 */
export function setupDirectives(app: App) {
  // 权限控制指令
  app.directive('auth', auth)
}
